﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CFScript.Tasks
{
    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Exit:Task
    {
        public override InstructionResult Execute(CFScript context)
        {
            InstructionResult result = new InstructionResult();
            result.ExecutedInstruction = this;

            result.BreakExecution = true;

            return result;
        }
    }
}
